// <copyright file="SimpleDialog.cs" company="YUIAsp.Net">
// Copyright (c) 2009 All Right Reserved
// </copyright>
// <author>raul popescu</author>
// <email>dev@yuiasp.net</email>
// <date>2009-01-30</date>
// <summary>YUIAsp.Net File</summary>

using System.ComponentModel;
using System.Web.UI;

#region Embedded resources definitions
[assembly: WebResource("YUIAspNet.SimpleDialog.SimpleDialog.js", "text/javascript")]
#endregion

namespace YUIAspNet
{
    /// <summary>
    /// Dialog control.
    /// </summary>
    [ToolboxItem(true)]
    [ParseChildren(true)]
    public class SimpleDialog : Dialog
    {
        /// <summary>
        /// Registers any additional scripts to include for this control.
        /// </summary>
        protected override void RegisterScriptReferences()
        {
            AddScriptReference(new ScriptReference("YUIAspNet.Dialog.Dialog.js", this.GetType().Assembly.FullName));
            AddScriptReference(new ScriptReference("YUIAspNet.SimpleDialog.SimpleDialog.js", this.GetType().Assembly.FullName));
        }
    }

  
}
